﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmallERP.DAL;

namespace SmallERP.Bll.MakeBigPic
{
    /// <summary>
    /// 系统路径BLL
    /// </summary>
    public class SystemSettingBLL
    {
        public static String GetProductPicPath()
        {
            string bigPicPath = string.Empty;
            //using (smallerpDataContext db = new smallerpDataContext())
            //{
            //   SysSetting ss= db.SysSetting.FirstOrDefault();
            //   bigPicPath=ss.BigPicSavePath;
            //}
            string strSql = "select BigPicSavePath from SysSetting ";
            bigPicPath = Convert.ToString(AccessHelper.ExecuteScalar(strSql));

            return bigPicPath;
        }
    }
}
